﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GnufExtension.h"
#include <GnufArrangementAreaContent.h>

namespace gnuf {
    class QtBnufExplorer;
    class BnufModelViewBoard;
    class BnufDisplayAndPickFilterBoard;

    class GNUF_EXTENSION_EXPORT GnufViewHouse final
        : public gnuf::ArrangementAreaContent
    {
    public:
        GnufViewHouse();
        ~GnufViewHouse();

        static GnufViewHouse * get();

        void setVisible(bool);
        bool visible() const;

    protected:
        // Inherits from gnuf::ArrangementAreaContent...
        virtual QWidget * qtWidget() override { return nullptr; }
        virtual void onPostGeometryChanged() override {}
        virtual void onPostVisibilityChanged() override {}
        virtual void onPostOpacityChanged() override {}
        virtual void onPostConnectedWithArrangementArea() override {}
        virtual void onPreDisconnectedFromArrangementArea() override {}
    };

}
